package generadorDescriptores.dom;

import generadorDescriptores.Fachada;

import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;

public class ConditionJoin {
	
	private Element elementCondition; 
	private Document document;
	
	
	public ConditionJoin(Document doc){
		this.document = doc;
		elementCondition = doc.createElement("condition");
	}
	
	public void setAttributes(String column, String factColumn){
		this.elementCondition.setAttribute("column", column);
		this.elementCondition.setAttribute("factColumn", factColumn);
	}

	public Node getElement() {
		return this.elementCondition;
	}
	
	
	

}
